package com.qf.excepotion;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/22/20:43
 * @Description:
 */

public enum StockMsg {
    UNLOCK_STOCK_ERROR(5001,"扣减库存失败");
    private Integer code;
     private String msg;
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    StockMsg(Integer code, String msg){
         this.code=code;
         this.msg=msg;

     }
}
